//
//  FloatBtnView.h
//  KidReading
//
//  Created by telen on 14/12/31.
//  Copyright (c) 2014年 刘赞黄Telen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "StatusButtonView.h"

@interface UIView(FloatBtnView)
@property(nonatomic,weak)UIView* fbv_followView;
@property(nonatomic,strong)NSValue* fbv_followOffsetValue;
@property(nonatomic,strong)NSNumber* fbv_bool_KeepSizeValue;
@property(nonatomic,assign)float fbv_followPodValue;
- (BOOL)fbv_keepSize;
- (CGPoint)fbv_followOffset;
@end

@interface FloatBtnView : UIView<StatusButton_2_ViewDelegate>
{
    StatusButton_2_View* homeBtn;
    NSArray* viewsArr;
}

@property(nonatomic,weak,readonly)UIView* superV;
@property(nonatomic,assign)CGRect canBerthRect;
@property(nonatomic,assign)CGSize allBtnSize;

@property(nonatomic,assign)CGFloat ratio_w;//资源转换倍率 宽
//
@property(nonatomic,strong)NSString* bookName;
//横向支持
@property(nonatomic,assign)BOOL horizontal;

+ (instancetype)floatBtnsWtihSuperView:(UIView*)superView;

- (void)setHomeBtn:(StatusButton_2_View*)btn andOtherFloatViews:(NSArray*)views;

- (void)doneSetting;
- (void)layoutDoneSetting;
- (void)reLayLoutFloatViews:(NSArray*)views;

- (void)show;
- (void)unShow;

@end
